package org.scboy.utils.annotations.coobi;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.scboy.utils.enums.coobi.ExecuteType;

/**
 * 接口执行注解
 * @author yanghao
 *
 */
@Target({java.lang.annotation.ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Execute {
	
	/**
	 * Sql配置ID
	 * @return
	 */
	String id() default "";
	
	/**
	 * 执行模式
	 * @return
	 */
	ExecuteType type() default ExecuteType.SELECT;
}
